export const tableOption = {
  border: true,
  index: false,
  indexLabel: '序号',
  stripe: false,
  menuAlign: 'center',
  align: 'center',
  refreshBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  header: false,
  menu: true,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '名称',
    prop: 'name'
  },{
    label: '库存',
    prop: 'stock'
  }, {
    label: '图片(点击预览大图)',
    prop: 'image',
    slot:true
  }, {
    label: '通讯类型',
    prop: 'communicationType',
    dicData: [
      {
        label: '移动4G',
        value: 0
      },
      {
        label: '联通4G',
        value: 1
      },
      {
        label: 'WIFI',
        value: 2
      }]
  }, {
    label: '备注',
    prop: 'tips'
  }, {
    label: '当前状态',
    prop: 'enableFlag',
    dicData: [
      {
        label: '禁用',
        value: 0
      },
      {
        label: '启用',
        value: 1
      },
    ]}
  ]
}

export const tableCarOption = {
  border: true,
  index: false,
  indexLabel: '序号',
  stripe: false,
  menuAlign: 'center',
  align: 'center',
  refreshBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  header: false,
  menu: true,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '名称',
    prop: 'name'
  }, {
    label: '设备型号',
    prop: 'chargingTypeDesc'
  }, {
    label: '库存',
    prop: 'stock'
  }, {
    label: '图片(点击预览大图)',
    prop: 'image',
    slot:true
  }, {
    label: '通讯类型',
    prop: 'communicationType',
    dicData: [
      {
        label: '移动4G',
        value: 0
      },
      {
        label: '联通4G',
        value: 1
      },
      {
        label: 'WIFI',
        value: 2
      }]
  }, {
    label: '功率',
    prop: 'powerDesc'
  }, {
    label: '接口标准',
    prop: 'interfaceStandard'
  }, {
    label: '快充类型',
    prop: 'fastChargeType',
    dicData: [
      {
        label: '慢充',
        value: 0
      },
      {
        label: '快充',
        value: 1
      }]
  }, {
    label: '备注',
    prop: 'tips'
  }, {
    label: '当前状态',
    prop: 'enableFlag',
    dicData: [
      {
        label: '禁用',
        value: 0
      },
      {
        label: '启用',
        value: 1
      }]
  }]
}
